//4. 键盘类：实现USB接口，并具备输入功能
public class keyBoard implements IUSB{
    @Override
    public void openDevice() {
        System.out.println("打开键盘...");
    }

    public void inPut(){
        System.out.println("键盘输入...");
    }

    @Override
    public void closeDevice() {
        System.out.println("关闭键盘...");
    }
}
